Repository navigation
docs(sdks): warn first-time publishers to validate SDKs before setting up publishing - #7955
Open
nerminamiller-postman wants to merge 3 commits into
Open
nerminamiller-postman wants to merge 3 commits into
nerminamiller-postman wants to merge 3 commits into
Conversation
…setting up publishing Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
nerminamiller-postman
requested a review
from jkonrath-postman
as a code owner
November 20, 2026 22:16
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Devin Review found 2 findings. Devin automatically fixed all 2 findings.
Fixed by Devin (2)
- Agent publishing workflow skips validation — Moved the validation rule into Workflow as step 1, ahead of publishing setup.
- Unversioned Go generation still releases SDKs — Go warning now says to validate before any
fern generatewith GitHub delivery, since release mode tags a version even without--version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A customer connected package publishing before validating their generated SDK, so incomplete and untested code went out to their users. This PR adds a caution to the Current SDK publishing pages: if you're publishing for the first time or your API is still in development, validate the generated SDK (
fern generate --target <language> --preview, then build and test the output) before you set up publishing.fern/products/sdks/snippets/validate-before-publishing.mdx: a generic<Warning>added to the TypeScript, Python, Java, PHP, Ruby, Rust and Swift publishing pages, at the top of the section where publishing is configured (Configure GitHub publishing,Configure Maven Central publication, orConfigure sdk-config.yml).#publish-to-pkggodev): a tailored warning. pkg.go.dev indexes any semver tag pushed to a public repo, and the Go module proxy keeps every version, so a release can only be retracted, not deleted.Configure GitHub publishing): a tailored warning. nuget.org doesn't allow deleting packages, only unlisting them, and unlisted versions can still be installed by exact version.fern-instructions/sdks/publish.mdx): adds the same rule so coding agents don't set up publishing for a new SDK before it's validated.Out of scope: Legacy (
generators.yml) publishing pages and the deprecated Postman page.Link to Devin session: https://app.devin.ai/sessions/4bb96101db314ea3a9224e7dd497b633
Open in Devin Desktop: https://app.devin.ai/desktop/session/4bb96101db314ea3a9224e7dd497b633?variant=devin
Requested by: @nerminamiller-postman
🟢 Devin fixed all 2 findings · Follow Devin's work